<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2018/3/27
  Time: 14:12
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%--<%@ include file="../set-sideBar/set-sideBar.jsp" %>--%>
<title>参数设置</title>
<%@ include file="../../../common/web_top.jsp" %>
<style>
    .tr1,.tr11{
        height: 70px;
        line-height: 70px;
        border-bottom: 1px solid #ddd;
        cursor: pointer;
    }
    ul{
        margin: 0px;

    }
    .table{
        padding: 0px;
    }
    .show_hide_logo{
        width: 10%;display: inline-block;text-align: center;
    }
    ._red{
        font-size: 12px!important;
        cursor: pointer;
        padding: 7px 10px;
        border-radius: 3px;
        color: #ffffff;
        background: #E55A5B;
    }
    ._blue{
        font-size: 12px!important;
        cursor: pointer;
        padding: 7px 10px;
        border-radius: 3px;
        color: #ffffff;
        background: #000;
    }
    .toggle-tu{
        width: 55px;
        display: inline-block;
        position: relative;
        left: -3px;
    }
    .tu-1{
        position: absolute;
        top: -19px;
        background: #dddddd;
        width: 1px;
        height: 30px;
    }
    .tu-2{
        position: absolute;
        top: -5px;
        background: #dddddd;
        width: 50px;
        height: 1px;
    }
    .tr11:hover{
        background:rgba(235,235,235,0.3) ;
    }
</style>

<div class="bgSortScroll">
    <!-- ngIf: HbHr.hr205 -->
    <paramset ng-if="HbHr.hr205" class="">
        <div id="parameter_set_content"></div>
        <script type="x-handlebars-template" id="parameter_set_content_tpl">
            {{#each .}}
            <div class="public-bgContent" ng-init="load()">
                <ul class="table public-table PoInput table-toggle table-toggle-ceng">
                    <li id="htmlbody">


                        <div class="tr1" data-type="true" data-has-child="true" data-focus="false">
                            <span class="show_hide_logo">[-]</span>
                            <span style="width: 50%;display: inline-block;">{{name}}</span>
                            <span style="width: 40%;display: inline-block;text-align: right;padding-right: 20px"><span ng-if="HbHr.hr206" class="_red add_parameter" data-attr="addSection" data-type="{{id}}"
                                                                                                                       data-conp="{{name}}"
                                                                                                                       data-id="{{id}}">添加统计类型</span></span>
                        </div><ul>
                        <li>
                            {{#each children}}

                            <div class="tr11" data-type="true" data-has-child="false" data-focus="false">
                                <span style="width: 10%;display: inline-block;text-align: center"></span>
                                <span style="width: 50%;display: inline-block;"><span class="toggle-tu">
                                <span class="tu-1"></span>
                                <span class="tu-2"></span></span>{{name}}
                            </span>
                                <span style="width: 40%;display: inline-block;text-align: right;padding-right: 20px;" >
                                <span ng-if="HbHr.hr207" class="_blue edit_parameter" data-attr="comSection" data-type="{{type}}"
                                      data-type2="{{mold}}" data-id="{{id}}" data-name="{{../name}}"  data-conp="{{name}}"  data-num="{{num}}">编辑统计类型</span>
                                <span ng-if="HbHr.hr208" style="margin-left:10px"
                                      class="second-span _red delect_parameter"
                                      data-type="{{type}}" data-type2="{{mold}}"
                                      data-attr="remSection"
                                      data-id="{{id}}">删除统计类型</span>
                            </span>
                            </div>

                            {{/each}}
                        </li>
                    </ul>

                    </li>
                </ul>
            </div>
            {{/each}}
        </script>
    </paramset><!-- end ngIf: HbHr.hr205 -->
</div>

<%--新增弹框--%>
<div class="winBox winBoxAdd" style="display: none;">
    <!-- 加载弹窗盒子容器 -->
    <!-- ngInclude: box -->
    <div class="winBox1 " ng-include="box">

        <div class="winBox2 ">
            <edit><!-- 头部 -->
                <div class="headerBox">
                    <span class="headerSpan parameter_window_title">编辑</span>
                    <i class="iconfont icon-wrong headerIcon" ng-click="F.showWin('hide')"></i>
                </div>
                <!-- 中间内容 -->
                <div class="maContent">
                    <!-- 中间tab -->
                    <table class="resultTab" <%--class="maTab"--%>>
                        <tbody>
                        <tr>
                            <td><span style="color: #D5332C;font-weight: bold;">*</span>所属上级：</td>
                            <td>
                                <span ng-show="true" class="  parameter_window_name">渠道</span>
                                <div class="se-re" style="display: none">
                                    <select ng-show="false" ng-model="selectModel.id"
                                            ng-options="i.id as i.name for i in selectSame"
                                            class="ng-pristine ng-untouched ng-valid ng-empty ng-hide">
                                        <option value="?" selected="selected"></option>
                                    </select>
                                    <span class="se-po se-box"></span>
                                </div>
                            </td>
                        </tr>
                        <tr>
                            <td><span style="color: #D5332C;font-weight: bold;">*</span>类型名称：</td>
                            <td class="tdWei">
                                <label style="width: 160px">
                                    <input ng-focus="remHight()" ng-class="{'error':redErr.name}" type="text" autocomplete="off"
                                           ng-model="resultData.name"
                                           class="ng-pristine ng-untouched ng-valid ng-not-empty  parameter_window_content">
                                    <span ng-show="setComSection.type2 == 'term'" class="ng-hide">个月</span>
                                </label>
                            </td>
                        </tr>
                        <tr class="esa fee">
                            <td><span style="color: #D5332C;font-weight: bold;">*</span>单位：</td>
                            <td>
                                <label><input type="radio" name="unit" value="1" ng-model="param.faceResult" class="ng-pristine ng-untouched ng-valid ng-empty">元</label>
                                <label><input type="radio" name="unit" value="2" ng-model="param.faceResult" class="ng-pristine ng-untouched ng-valid ng-empty">分</label>
                            </td>
                        </tr>
                        </tbody>
                    </table>
                    <!-- tab列表结束 -->
                    <!-- 底部 -->
                    <div class="deleFooter footerBox">
                        <div class="deleBtn">
                            <button class="param_window_commit" style="background: #E55A5B;" ng-click="btn()">确定提交</button>
                        </div>
                    </div>
                </div>

            </edit>
        </div>
    </div>
</div>
<%--删除--%>
<div class="winBox winBoxDelect" style="display: none">
    <!-- 加载弹窗盒子容器 -->
    <!-- ngInclude: box --><div class="winBox1 " ng-include="box">
    <div class="winBox2 ">
        <remarksadmin><!-- 头部 -->
            <div class="headerBox">
                <span class="headerSpan  winBoxDelect_title">删除统计类型</span>
                <i class="iconfont icon-wrong headerIcon"></i>
            </div>
            <!-- 内容 -->
            <div class="deleBox">
                <!-- 中间列表 -->
                <div class="deleteTit">
                    <i class="iconfont icon-tips2"></i>
                    <span class=" winBoxDelect_content">您确定要删除所选的类型吗</span>
                </div>
                <div class="beizhu"><span>*</span>输入原因：</div>
                <textarea class="param_delect_reason" data-tag="textLength" showtag="zishuxians" ></textarea>
                <!-- 底部 -->
                <div class="deleFooter">
                    <div class="deleBtn">
                        <button class="param_delectBtn">确定提交</button>
                        <%--<button onclick="winBoxDelect_hidePop()">取消</button>--%>
                    </div>
                </div>
            </div>

        </remarksadmin>
    </div></div>
</div>
<script type="text/javascript" src="static/js/page/set/systemSet/countSet/countSet.js?_v=190102162154"></script>
<%@ include file="../../../common/web_bottom.jsp" %>